using Godot;
using System;

namespace Box;

public partial class ItemSelectWindow : Window
{
	// Called when the node enters the scene tree for the first time.
	public ItemSelectControl ItemSelectControl;

	public override void _Ready()
	{
		ItemSelectControl = GetNode<ItemSelectControl>("ItemSelectControl");
		
		CloseRequested += ()=> {
			ItemSelectControl.CodeEditControl._onCancel();
			Hide();
		};
	}

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
	}
}
